.class public Lcom/example/m6wmr/EditeAddressActivity;
.super Landroid/app/Activity;
.source "EditeAddressActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/EditeAddressActivity$MyLocationListener;
    }
.end annotation


# static fields
.field public static addresslist:Lcom/example/m6wmr/AddressListActivity;


# instance fields
.field private Address_position:Ljava/lang/String;

.field private address:Landroid/widget/TextView;

.field private addressId:Ljava/lang/String;

.field private addressStr:Ljava/lang/String;

.field addresslaout:Landroid/widget/LinearLayout;

.field private addressls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/AddressBean;",
            ">;"
        }
    .end annotation
.end field

.field private areaid:Ljava/lang/String;

.field private bigadr:Ljava/lang/String;

.field private closebtn:Landroid/widget/LinearLayout;

.field private contactname:Landroid/widget/EditText;

.field private contactnames:Ljava/lang/String;

.field private cursor:Landroid/database/Cursor;

.field private cv:Landroid/content/ContentValues;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private detailadr:Ljava/lang/String;

.field private editid:I

.field private gate_number:Landroid/widget/EditText;

.field private gatehao:Ljava/lang/String;

.field private gethttpsString:Ljava/lang/String;

.field private go_position:Landroid/widget/LinearLayout;

.field private goint:I

.field private goodsstr:Ljava/lang/String;

.field public h:Landroid/os/Handler;

.field private handler:Landroid/os/Handler;

.field private helper:Ldbclass/DBOpenHelper;

.field private id:Ljava/lang/String;

.field private im_nan:Landroid/widget/ImageView;

.field private im_nv:Landroid/widget/ImageView;

.field private intent:Landroid/content/Intent;

.field private is_default:Ljava/lang/String;

.field private is_sex:Landroid/widget/TextView;

.field private lat:Ljava/lang/String;

.field private ll_delete:Landroid/widget/LinearLayout;

.field private ll_nan:Landroid/widget/LinearLayout;

.field private ll_nv:Landroid/widget/LinearLayout;

.field private lng:Ljava/lang/String;

.field private loaddata:Z

.field m:Lmyapp/MyApp;

.field private mLocationClient:Lcom/baidu/location/LocationClient;

.field private mMyLocationListener:Lcom/example/m6wmr/EditeAddressActivity$MyLocationListener;

.field private mWebView:Landroid/webkit/WebView;

.field private mcontext:Landroid/content/Context;

.field private name:Ljava/lang/String;

.field pd:Landroid/app/ProgressDialog;

.field private phone:Landroid/widget/EditText;

.field private phoneNumber:Ljava/lang/String;

.field private phoness:Ljava/lang/String;

.field private pingstr:Ljava/lang/String;

.field private sex:Ljava/lang/String;

.field private sexnet:Ljava/lang/String;

.field private shopid:Ljava/lang/String;

.field shoplayout:Landroid/widget/LinearLayout;

.field private shopstr:Ljava/lang/String;

.field private titlename:Landroid/widget/TextView;

.field private tv_choosetext:Landroid/widget/TextView;

.field private tv_keep:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 50
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 51
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->areaid:Ljava/lang/String;

    .line 52
    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->m:Lmyapp/MyApp;

    .line 57
    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->shoplayout:Landroid/widget/LinearLayout;

    .line 59
    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->pd:Landroid/app/ProgressDialog;

    .line 60
    iput-boolean v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->loaddata:Z

    .line 61
    const-string v0, "0"

    iput-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->shopid:Ljava/lang/String;

    .line 62
    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->goodsstr:Ljava/lang/String;

    .line 65
    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->cursor:Landroid/database/Cursor;

    .line 68
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->shopstr:Ljava/lang/String;

    .line 69
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->pingstr:Ljava/lang/String;

    .line 70
    iput v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->goint:I

    .line 72
    iput v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->editid:I

    .line 110
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->addressStr:Ljava/lang/String;

    .line 50
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 74
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->contactname:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 75
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->phone:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 110
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity;->addressStr:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$11(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 104
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->phoneNumber:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$12(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 102
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->name:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 54
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$14(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 106
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->gatehao:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$15(Lcom/example/m6wmr/EditeAddressActivity;)V
    .locals 0

    .prologue
    .line 460
    invoke-direct {p0}, Lcom/example/m6wmr/EditeAddressActivity;->uploadAddress()V

    return-void
.end method

.method static synthetic access$16(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 116
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->gethttpsString:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$17(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 77
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nan:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$18(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/ImageView;
    .locals 1

    .prologue
    .line 78
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nv:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$19(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 110
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->addressStr:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 85
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->address:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$20(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 112
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->lat:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$21(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 113
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->lng:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$22(Lcom/example/m6wmr/EditeAddressActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 122
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->id:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$23(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 116
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity;->gethttpsString:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$3(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 76
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->gate_number:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 92
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_keep:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 102
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity;->name:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$6(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 104
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity;->phoneNumber:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$7(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 106
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity;->gatehao:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$8(Lcom/example/m6wmr/EditeAddressActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 87
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_sex:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 108
    iput-object p1, p0, Lcom/example/m6wmr/EditeAddressActivity;->sex:Ljava/lang/String;

    return-void
.end method

.method private uploadAddress()V
    .locals 8

    .prologue
    const/4 v7, 0x0

    .line 463
    iget-object v4, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_sex:Landroid/widget/TextView;

    invoke-virtual {v4}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    .line 465
    .local v1, "issex":Ljava/lang/String;
    const-string v4, "addrInfo"

    invoke-virtual {p0, v4, v7}, Lcom/example/m6wmr/EditeAddressActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v2

    .line 466
    .local v2, "preferences":Landroid/content/SharedPreferences;
    const-string v4, "addressid"

    const-string v5, ""

    invoke-interface {v2, v4, v5}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 467
    .local v0, "addressids":Ljava/lang/String;
    const-string v4, "\u6211\u7684\u5730\u5740ID \u4e0dddd\u4e3a\u7a7a"

    new-instance v5, Ljava/lang/StringBuilder;

    const-string v6, "__________-------------"

    invoke-direct {v5, v6}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 468
    const-string v4, ""

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 470
    const-string v4, "\u6211\u7684\u5730\u5740ID \u4e0d\u4e3a\u7a7a"

    const-string v5, "__________-------------"

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 471
    iget-object v4, p0, Lcom/example/m6wmr/EditeAddressActivity;->id:Ljava/lang/String;

    invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    .line 473
    const-string v4, "\u6211\u7684\u5730\u5740ID \u76f8\u540c"

    const-string v5, "__________-------------"

    invoke-static {v4, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 476
    const-string v4, "addrInfo"

    invoke-virtual {p0, v4, v7}, Lcom/example/m6wmr/EditeAddressActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v3

    .line 477
    .local v3, "userInfo":Landroid/content/SharedPreferences;
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "username"

    iget-object v6, p0, Lcom/example/m6wmr/EditeAddressActivity;->name:Ljava/lang/String;

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 479
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "sex"

    invoke-interface {v4, v5, v1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 480
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "tel"

    iget-object v6, p0, Lcom/example/m6wmr/EditeAddressActivity;->phoneNumber:Ljava/lang/String;

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 481
    invoke-interface {v3}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    const-string v5, "addr"

    iget-object v6, p0, Lcom/example/m6wmr/EditeAddressActivity;->gatehao:Ljava/lang/String;

    invoke-interface {v4, v5, v6}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;

    move-result-object v4

    invoke-interface {v4}, Landroid/content/SharedPreferences$Editor;->commit()Z

    .line 489
    .end local v3    # "userInfo":Landroid/content/SharedPreferences;
    :cond_0
    new-instance v4, Lcom/example/m6wmr/EditeAddressActivity$8;

    new-instance v5, Lcom/example/m6wmr/EditeAddressActivity$7;

    invoke-direct {v5, p0, v1}, Lcom/example/m6wmr/EditeAddressActivity$7;-><init>(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/String;)V

    invoke-direct {v4, p0, v5}, Lcom/example/m6wmr/EditeAddressActivity$8;-><init>(Lcom/example/m6wmr/EditeAddressActivity;Ljava/lang/Runnable;)V

    .line 516
    invoke-virtual {v4}, Lcom/example/m6wmr/EditeAddressActivity$8;->start()V

    .line 519
    return-void
.end method


# virtual methods
.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 570
    const-string v1, "fdsafdsafdsa"

    const-string v2, "xxxxx"

    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 571
    const-string v1, "loginback"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "onActivityResultrequestCode"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    .line 572
    const-string v3, "\n resultCode="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 571
    invoke-static {v1, v2}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 573
    const/16 v1, 0x2714

    if-ne p1, v1, :cond_0

    .line 574
    const/4 v1, 0x1

    if-ne p2, v1, :cond_0

    .line 576
    const-string v1, "name"

    invoke-virtual {p3, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 577
    .local v0, "result":Ljava/lang/String;
    if-nez v0, :cond_1

    .line 578
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_choosetext:Landroid/widget/TextView;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 584
    :goto_0
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->address:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 586
    const-string v1, "xxx"

    invoke-static {v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 587
    const-string v1, "lat"

    invoke-virtual {p3, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->lat:Ljava/lang/String;

    .line 588
    const-string v1, "xxx"

    iget-object v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->lat:Ljava/lang/String;

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 589
    const-string v1, "lng"

    invoke-virtual {p3, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->lng:Ljava/lang/String;

    .line 590
    const-string v1, "xxx"

    iget-object v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->lng:Ljava/lang/String;

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 595
    .end local v0    # "result":Ljava/lang/String;
    :cond_0
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 596
    return-void

    .line 581
    .restart local v0    # "result":Ljava/lang/String;
    :cond_1
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_choosetext:Landroid/widget/TextView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 5
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const v4, 0x7f0200d7

    const v3, 0x7f0200be

    .line 142
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 143
    const v1, 0x7f0300ad

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->setContentView(I)V

    .line 146
    invoke-virtual {p0}, Lcom/example/m6wmr/EditeAddressActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    .line 147
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "id"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->id:Ljava/lang/String;

    .line 148
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "phone"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->phoness:Ljava/lang/String;

    .line 149
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "is_default"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_default:Ljava/lang/String;

    .line 150
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "bigadr"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->bigadr:Ljava/lang/String;

    .line 151
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "contactname"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->contactnames:Ljava/lang/String;

    .line 152
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "detailadr"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->detailadr:Ljava/lang/String;

    .line 153
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->intent:Landroid/content/Intent;

    const-string v2, "sex"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->sexnet:Ljava/lang/String;

    .line 156
    invoke-virtual {p0}, Lcom/example/m6wmr/EditeAddressActivity;->getApplication()Landroid/app/Application;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->m:Lmyapp/MyApp;

    .line 157
    iput-object p0, p0, Lcom/example/m6wmr/EditeAddressActivity;->mcontext:Landroid/content/Context;

    .line 158
    new-instance v1, Ldbclass/DBOpenHelper;

    invoke-virtual {p0}, Lcom/example/m6wmr/EditeAddressActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v2

    invoke-direct {v1, v2}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->helper:Ldbclass/DBOpenHelper;

    .line 159
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->helper:Ldbclass/DBOpenHelper;

    invoke-virtual {v1}, Ldbclass/DBOpenHelper;->getWritableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 161
    const/high16 v1, 0x7f0c0000

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 164
    .local v0, "top":Landroid/widget/LinearLayout;
    const v1, 0x7f0c0226

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->contactname:Landroid/widget/EditText;

    .line 165
    const v1, 0x7f0c0224

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->phone:Landroid/widget/EditText;

    .line 166
    const v1, 0x7f0c0331

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_choosetext:Landroid/widget/TextView;

    .line 167
    const v1, 0x7f0c0332

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->address:Landroid/widget/TextView;

    .line 169
    const v1, 0x7f0c0328

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nan:Landroid/widget/ImageView;

    .line 170
    const v1, 0x7f0c032a

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nv:Landroid/widget/ImageView;

    .line 172
    const v1, 0x7f0c0001

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->closebtn:Landroid/widget/LinearLayout;

    .line 174
    const v1, 0x7f0c0334

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/EditText;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->gate_number:Landroid/widget/EditText;

    .line 175
    const v1, 0x7f0c0335

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->ll_delete:Landroid/widget/LinearLayout;

    .line 177
    const v1, 0x7f0c022a

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_sex:Landroid/widget/TextView;

    .line 179
    const v1, 0x7f0c0336

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_keep:Landroid/widget/TextView;

    .line 181
    const v1, 0x7f0c0009

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->titlename:Landroid/widget/TextView;

    .line 183
    const v1, 0x7f0c0329

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->ll_nv:Landroid/widget/LinearLayout;

    .line 184
    const v1, 0x7f0c0327

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->ll_nan:Landroid/widget/LinearLayout;

    .line 186
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_sex:Landroid/widget/TextView;

    const-string v2, "0"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    .line 188
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->titlename:Landroid/widget/TextView;

    const-string v2, "\u7f16\u8f91\u6536\u8d27\u4eba\u4fe1\u606f"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 189
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 190
    const v1, 0x7f070026

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 191
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_keep:Landroid/widget/TextView;

    const v2, 0x7f020020

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setBackgroundResource(I)V

    .line 194
    :cond_0
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->tv_choosetext:Landroid/widget/TextView;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 195
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->contactname:Landroid/widget/EditText;

    iget-object v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->contactnames:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 196
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->phone:Landroid/widget/EditText;

    iget-object v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->phoness:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 197
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->address:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->bigadr:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 198
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->gate_number:Landroid/widget/EditText;

    iget-object v2, p0, Lcom/example/m6wmr/EditeAddressActivity;->detailadr:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 205
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->sexnet:Ljava/lang/String;

    const-string v2, "0"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 207
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nan:Landroid/widget/ImageView;

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 208
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nv:Landroid/widget/ImageView;

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 209
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_sex:Landroid/widget/TextView;

    const-string v2, "0"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 224
    :goto_0
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->ll_delete:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/example/m6wmr/EditeAddressActivity$1;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/EditeAddressActivity$1;-><init>(Lcom/example/m6wmr/EditeAddressActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 241
    const v1, 0x7f0c032f

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/EditeAddressActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/LinearLayout;

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->go_position:Landroid/widget/LinearLayout;

    .line 242
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->go_position:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/example/m6wmr/EditeAddressActivity$2;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/EditeAddressActivity$2;-><init>(Lcom/example/m6wmr/EditeAddressActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 254
    new-instance v1, Lcom/example/m6wmr/EditeAddressActivity$3;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/EditeAddressActivity$3;-><init>(Lcom/example/m6wmr/EditeAddressActivity;)V

    iput-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->h:Landroid/os/Handler;

    .line 410
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->h:Landroid/os/Handler;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 419
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->closebtn:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/example/m6wmr/EditeAddressActivity$4;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/EditeAddressActivity$4;-><init>(Lcom/example/m6wmr/EditeAddressActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 428
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->ll_nan:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/example/m6wmr/EditeAddressActivity$5;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/EditeAddressActivity$5;-><init>(Lcom/example/m6wmr/EditeAddressActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 442
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->ll_nv:Landroid/widget/LinearLayout;

    new-instance v2, Lcom/example/m6wmr/EditeAddressActivity$6;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/EditeAddressActivity$6;-><init>(Lcom/example/m6wmr/EditeAddressActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 452
    return-void

    .line 213
    :cond_1
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nan:Landroid/widget/ImageView;

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 214
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->im_nv:Landroid/widget/ImageView;

    invoke-virtual {v1, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 215
    iget-object v1, p0, Lcom/example/m6wmr/EditeAddressActivity;->is_sex:Landroid/widget/TextView;

    const-string v2, "2"

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 530
    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    .line 532
    iget-object v0, p0, Lcom/example/m6wmr/EditeAddressActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    invoke-virtual {v0}, Landroid/database/sqlite/SQLiteDatabase;->close()V

    .line 533
    return-void
.end method

.method protected onStart()V
    .locals 0

    .prologue
    .line 524
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 525
    return-void
.end method
